package com.leo.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_functions")
public class Functions {
	@TableId(value = "functionsId", type = IdType.AUTO)
	private int functionsId;
	
	@TableField("number")
	private String number;//编号
	
	@TableField("name")
	private String name;//名称
	
	@TableField("pNumber")
	private String pNumber;//上级编号
	
	@TableField("url")
	private String url;//链接
	
	@TableField("state")
	private int state;//收缩
	
	@TableField("sort")
	private String sort;//排序
	
	@TableField("enabled")
	private int enabled;//启用
	
	@TableField("type")
	private String type;//类型
	
	@TableField("pushBtn")
	private String pushBtn;//功能按钮
	
	@TableField("icon")
	private String icon;//图标
	
	@TableField("deleteFlag")
	private String deleteFlag;//删除标记，0未删除，1删除

	public int getFunctionsId() {
		return functionsId;
	}

	public void setFunctionsId(int functionsId) {
		this.functionsId = functionsId;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number == null ? null : number.trim();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getpNumber() {
		return pNumber;
	}

	public void setpNumber(String pNumber) {
		this.pNumber = pNumber == null ? null : pNumber.trim();
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url == null ? null : url.trim();
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort == null ? null : sort.trim();
	}

	public int getEnabled() {
		return enabled;
	}

	public void setEnabled(int enabled) {
		this.enabled = enabled;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type == null ? null : type.trim();
	}

	public String getPushBtn() {
		return pushBtn;
	}

	public void setPushBtn(String pushBtn) {
		this.pushBtn = pushBtn == null ? null : pushBtn.trim();
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon == null ? null : icon.trim();
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
	}
	
	
}
